<template>
  <div class="loading-container">
    <div class="loading-content">
      <div class="loading-spinner">
        <div class="spinner-circle"></div>
        <div class="spinner-circle"></div>
        <div class="spinner-circle"></div>
      </div>
      <p class="loading-text">工作中.....</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'LoadingPage'
}
</script>

<style lang="less" scoped>
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #fff5f7;
}

.loading-content {
  text-align: center;
  padding: 40px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 107, 139, 0.15);
  width: 300px;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
//工作中的点
.spinner-circle {
  width: 15px;
  height: 15px;
  background-color: #ff6b8b;
  border-radius: 50%;
  margin: 0 5px;
  animation: bounce 1.4s infinite ease-in-out both;
  
  &:nth-child(1) {
    animation-delay: -0.32s;
  }
  
  &:nth-child(2) {
    animation-delay: -0.16s;
  }
}
//动态
@keyframes bounce {
  0%, 80%, 100% { 
    transform: scale(0);
  } 40% { 
    transform: scale(1);
  }
}

.loading-text {
  color: #ff6b8b;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}
</style>